home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / powermgmt-base.postinst < prev    next >
Text File  |  2008-11-05  |  411b  |  23 lines

  1. #!/bin/sh -e
  2.  
  3.  
  4.  
  5. case "${1}" in
  6. (configure)
  7.     cd /dev && /sbin/MAKEDEV -v apm || true
  8.     FN="/etc/modprobe.d/apm"
  9.     if [ -f "${FN}" ] && md5sum --check --status > /dev/null 2>&1 << EOF
  10. 05bec108b10c64c5a614cf4576e5d66a  ${FN}
  11. EOF
  12.     then
  13.     rm -f "${FN}"
  14.     fi
  15.     ;;
  16. (abort-upgrade|abort-remove|abort-deconfigure)
  17.     ;;
  18. (*)
  19.     echo "postinst called with unknown argument \`$1'" >&2
  20.     exit 1
  21.     ;;
  22. esac
  23.